import { MockAdapter } from '@/mock/mock-adapter';
const mock = MockAdapter.getInstance();

import Mock from 'mockjs'
const Random = Mock.Random;

// 获取应用数据
mock.onGet('v7/zentaoappmenu').reply((config: any) => {
    let status = MockAdapter.mockStatus(config);
    return [status, {
        name: 'appmenu',
        items:  [
            {
	id: '2be499b03e8aba2785cf63e079c901d4',
	name: 'top_menus',
	text: '顶部菜单',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '顶部菜单',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: 'b454720d9937098dbf2a8c63ff255e49',
	name: 'menuitem12',
	text: '我的收藏',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '我的收藏',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: true,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'Auto23',
	resourcetag: '',
},
		{
	id: 'abe5c771826140b55b809218260136c6',
	name: 'menuitem9',
	text: '我的地盘',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '我的地盘',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'Auto10',
	resourcetag: '',
},
		{
	id: '326619b4fb6af93bdeed04e5dcbf029a',
	name: 'menuitem3',
	text: '产品主页',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '产品主页',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'Auto1',
	resourcetag: '',
},
		{
	id: '743c132e78e3c231d195ecd66fbd4a85',
	name: 'menuitem2',
	text: '项目主页',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '项目主页',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'Auto6',
	resourcetag: '',
},
		{
	id: '8c190ff0dc037afa1c9bd4c6a473313d',
	name: 'menuitem1',
	text: '测试主页',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '测试主页',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'Auto9',
	resourcetag: '',
},
		{
	id: '14f6f7ccec75782b74ec9838005815cc',
	name: 'menuitem16',
	text: '文档',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '文档',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc4',
	resourcetag: '',
},
		{
	id: '15ba5f98334e576909fe37497f03f4a9',
	name: 'menuitem23',
	text: '计划模板',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '计划模板',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc7',
	resourcetag: '',
},
		{
	id: '5d26bcc47f6fc152de01aa2e95449428',
	name: 'menuitem22',
	text: '统计',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '统计',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc',
	resourcetag: '',
},
		{
	id: '05995e93cb281b232231b5f332ff5520',
	name: 'menuitem25',
	text: '年度统计',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '年度统计',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'POAppFunc',
	resourcetag: '',
},
		{
	id: 'b6196a3350c20e3bba9943cfba16be09',
	name: 'menuitem7',
	text: 'iBiz软件生产管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: 'iBiz软件生产管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'Auto8',
	resourcetag: '',
},
		{
	id: 'a35e4a4ea6fefcf9131ccac6f123f4d3',
	name: 'menuitem26',
	text: '通讯录',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '通讯录',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc8',
	resourcetag: '',
},
		{
	id: '19bc3aa07a822b1a07832f145e438686',
	name: 'menuitem27',
	text: '全文检索',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '全文检索',
	expanded: false,
	separator: false,
	hidden: true,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc9',
	resourcetag: '',
},
		{
	id: '3158d179fb23b4edddd5af69bd3e21c5',
	name: 'menuitem24',
	text: '系统管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '系统管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '52cd9880b7fc15e4d8b1c7910fc041df',
	name: 'menuitem11',
	text: '用户',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '用户',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc2',
	resourcetag: '',
},
		{
	id: '8e70defb821f9fe5749d024bbe843085',
	name: 'menuitem10',
	text: '用例库',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '用例库',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'Auto15',
	resourcetag: '',
},
		{
	id: '5880e7271c300548ee7338f42532dd44',
	name: 'menuitem21',
	text: '系统配置',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '系统配置',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc6',
	resourcetag: '',
},
		{
	id: '0c3ef56f5716386446262261961ec24c',
	name: 'menuitem19',
	text: '汇报角色角色',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '汇报角色角色',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc5',
	resourcetag: '',
},
		{
	id: 'acd3c33a446ff012e482fd85a5062f4c',
	name: 'menuitem17',
	text: '插件管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '插件管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'PluginManagement',
	resourcetag: '',
},
		{
	id: '1a18d640fc30433a139e45c4aaa27f06',
	name: 'menuitem8',
	text: '更新日志',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '更新日志',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc3',
	resourcetag: '',
},
	],
},
	],
},
            {
	id: '0c09750969133187f7284fc78d6abb46',
	name: 'left_exp',
	text: '左侧分页导航',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '左侧分页导航',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: 'd69dc5da5fec042124ed71785112a2ed',
	name: 'menuitem4',
	text: '产品',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '产品',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cubes',
	icon: '',
	textcls: '',
	appfunctag: 'Auto2',
	resourcetag: 'PRODUCTLEFT',
},
		{
	id: '1bc9bde6c2735da9d300fc5925d5ecf8',
	name: 'menuitem5',
	text: '项目',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '项目',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-stack-exchange',
	icon: '',
	textcls: '',
	appfunctag: 'Auto5',
	resourcetag: '',
},
		{
	id: 'da31be11a700a5b2f5f63874113a175d',
	name: 'menuitem6',
	text: '测试',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '测试',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cogs',
	icon: '',
	textcls: '',
	appfunctag: 'Auto11',
	resourcetag: '',
},
	],
},
            {
	id: 'fa4f78c182d429862b14a5a2f7c516e1',
	name: 'bottom_exp',
	text: '底部导航区',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '底部导航区',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
            {
	id: '65951b0f0e0015d9af6f4f0e0ee337ae',
	name: 'footer_center',
	text: '底部中间菜单',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '底部中间菜单',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
            {
	id: '37a7f7d513421b09ab4a40876e30422b',
	name: 'menuitem13',
	text: 'bug菜单项',
	type: 'MENUITEM',
	counterid: '',
	tooltip: 'bug菜单项',
	expanded: false,
	separator: false,
	hidden: true,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'Auto26',
	resourcetag: '',
},
            {
	id: 'a6eb25e83c2701563f5f920bed8a04d1',
	name: 'menuitem14',
	text: '菜单项',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '菜单项',
	expanded: false,
	separator: false,
	hidden: true,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'Auto26',
	resourcetag: '',
},
            {
	id: '42b1cfedaf40277bf4241f1c080be056',
	name: 'menuitem15',
	text: '菜单项',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '菜单项',
	expanded: false,
	separator: false,
	hidden: true,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'Auto27',
	resourcetag: '',
},
            {
	id: '000cbeeaea954c8c3760dae0abf16e48',
	name: 'menuitem18',
	text: '菜单项',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '菜单项',
	expanded: false,
	separator: false,
	hidden: true,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'Auto29',
	resourcetag: '',
},
            {
	id: 'c74953e0910a0fe5f994dad32125ae76',
	name: 'menuitem20',
	text: '菜单项',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '菜单项',
	expanded: false,
	separator: false,
	hidden: true,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'Auto32',
	resourcetag: '',
},
        ],
    }];
});

